import request from '@/utils/request';

export async function reqTyExpressList(data: any, options?: any): Promise<any> {
	return request('/api/sys/express/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyExpress(data: any, options?: any): Promise<any> {
	return request('/api/sys/express/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyExpress(data: any, options?: any): Promise<any> {
	return request('/api/sys/express/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyExpressV1(data: any, options?: any): Promise<any> {
	return request('/api/v1/express/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyExpress(data: any, options?: any): Promise<any> {
	return request('/api/sys/express/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


